<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	
</body>
<script>
	var fn = function(i){
		return function(){
			return  i++;
			}
		}(10);
		var a = fn();
		var b = fn();
		alert(a);(1)
		alert(b);(2)

</script>
</html>